using System;
using System.Collections.Generic;
using System.Text;
using Tools;
using DBUtility;
using System.Configuration;
using System.Data;
using System.Text.RegularExpressions;


namespace WebNews
{
  public class clsSohuWoman : WebNews
  {

      protected override List<string> RegOneSubUrls(string sContent)
      {

          RegexOptions options = (((RegexOptions.IgnorePatternWhitespace | RegexOptions.Singleline)
                                  | RegexOptions.Multiline) | RegexOptions.IgnoreCase);

          string regex = @"<a\s?href='(?<url>.*?)'\s?target='_blank'>(?<title>.*?)</a>";
          string field = @"url";
          return RegTools.GetSubList(sContent, regex, field,options);

      }
      protected override string RegNextPageUrl(string sContent)
      {
          /*
          RegexOptions options = (((RegexOptions.IgnorePatternWhitespace | RegexOptions.Singleline)
                                  | RegexOptions.Multiline) | RegexOptions.IgnoreCase);

          string regex = @"<a\s?href='(?<url>.*?)'\s?target='_blank'>(?<title>.*?)</a>";
          string field = @"url";
          return RegTools.GetContentByReg (sContent, regex, field, options);
           */
          return "";
      }

 
 
  }
}

 

